<?php if(!defined('BASEPATH'))exit('No direct script access allowed'); ?>
<?php if($home == true){ ?>
<div class="hot">
    <div class="borderBlueTB727">
        <div class="markHot"></div>
        <div class="oBorderBlueTB727">
            <div class="iBorderBlueTB727">
                <div class="itemTB">
                    <!--LOOP-->
                    <?php $index = 1; ?>
                    <?php foreach($rows as $row){ ?>
                    <div class="item85X95">
                        <div class="img">
                            <a href="<?php echo base_url(); ?>product/section/<?php echo $row->proSection; ?>/category/<?php echo $row->proCategory; ?>/detail/<?php echo $row->proID; ?>/<?php echo url($row->proName); ?>" class="vtip" title="<?php echo tip(base_url().multi_thumbnail('thumbnail250X205_', $row->proImage, IMAGE_PATH.'product/'.$row->proDirImage.'/'), true); ?>">
                                <img src="<?php echo base_url().multi_thumbnail('thumbnail73X70_', $row->proImage, IMAGE_PATH.'product/'.$row->proDirImage.'/'); ?>" width="73" height="70" alt="<?php echo $row->proName; ?>" />
                            </a>
                        </div>
                        <div class="txt"><?php if((int)$row->proPrice > 0){echo currency($row->proPrice).' '.$row->proCurrency;}else{echo lang('CALL');} ?></div>
                    </div>
                    <?php if($index == 8){ ?>
                    <div class="clear"></div>
                    <?php } ?>
                    <?php $index++; ?>
                    <?php } ?>
                    <!--LOOP-->
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php }else{ ?>
<div class="titleABS"><?php echo lang('PRODUCT'); ?> <span class="red"><?php echo lang('HOT'); ?></span></div>
<div class="borderBlue367">
    <div class="oBorderBlue367">
        <div class="iBorderBlue367">
            <div class="item">
                <!--LOOP-->
                <?php $index = 1; ?>
                <?php foreach($rows as $row){ ?>
                <div class="item85X95">
                    <div class="img">
                        <a href="<?php echo base_url(); ?>product/section/<?php echo $row->proSection; ?>/category/<?php echo $row->proCategory; ?>/detail/<?php echo $row->proID; ?>/<?php echo url($row->proName); ?>" class="vtip" title="<?php echo tip(base_url().multi_thumbnail('thumbnail250X205_', $row->proImage, IMAGE_PATH.'product/'.$row->proDirImage.'/'), true); ?>">
                            <img src="<?php echo base_url().multi_thumbnail('thumbnail73X70_', $row->proImage, IMAGE_PATH.'product/'.$row->proDirImage.'/'); ?>" width="73" height="70" alt="<?php echo $row->proName; ?>" />
                        </a>
                    </div>
                    <div class="txt"><?php if((int)$row->proPrice > 0){echo currency($row->proPrice).' '.$row->proCurrency;}else{echo lang('CALL');} ?></div>
                </div>
                <?php if($index == 4){ ?>
                <div class="clear"></div>
                <?php } ?>
                <?php $index++; ?>
                <?php } ?>
                <!--LOOP-->
                <div class="clear"></div>
            </div>
        </div>
    </div>
</div>
<?php } ?>